FluentCrm\App\Models\Subscriber D

Total Complexity 303
Dependencies 12
Dependents 35
Total lines 1,856
Lines of code 1,258
Logical lines of code 765
Comment lines 216
Methods 60
Properties 5

Methods 60

Method Rating Maintainability Complexity Lines of code
import()
D
27
42 128
updateOrCreate()
C
37 26 67
buildActivitiesFilterQuery()
B
33 21 101
providerQueryBuilder()
B
37 19 77
buildGeneralPropertiesFilterQuery()
B
41 17 55
buildCustomFieldsFilterQuery()
A
41 14 60
filterParser()
A
46 10 39
applyGeneralFilterQuery()
A
48 9 33
boot()
A
51 9 28
lastActivityDate()
S
53 6 24
syncCustomFieldValues()
S
48 5 34
buildSegmentFilterQuery()
S
56 6 16
getDirty()
S
58 6 15
attachLists()
S
51 5 29
attachTags()
S
51 5 29
scopeSearchBy()
S
51 5 28
custom_fields()
S
56 5 18
explodeFullName()
S
59 5 14
parseCustomFieldsFilterOperator()
S
60 5 14
hasAnyListId()
S
63 5 11
hasAnyTagId()
S
63 5 11
detachTags()
S
55 4 21
detachLists()
S
55 4 21
parseRelationalFilterQueryMethods()
S
57 4 19
buildRelationFilterQuery()
S
57 4 16
store()
S
59 4 15
getPhotoAttribute()
S
61 4 13
buildSearchableQuery()
S
56 3 19
getWpUser()
S
64 3 11
updateMeta()
S
58 2 17
getFullNameAttribute()
S
70 3 5
sendDoubleOptinEmail()
S
64 3 9
getWpUserId()
S
66 3 10
mappables()
S
54 1 20
scopeFilterByNotInTags()
S
58 1 16
scopeFilterByNotInLists()
S
58 1 16
scopeFilterByTags()
S
58 1 16
scopeFilterByLists()
S
58 1 16
scopeFilterByStatues()
S
71 2 6
scopeFilterByContactType()
S
71 2 6
getMeta()
S
65 2 10
getSecureHash()
S
63 2 10
unsubscribeReasonDate()
S
66 2 9
stats()
S
60 1 15
lists()
S
63 1 12
tags()
S
63 1 12
funnels()
S
64 1 11
sequences()
S
65 1 11
sequence_trackers()
S
68 1 8
campaignEmails()
S
79 1 3
urlMetrics()
S
68 1 8
custom_field_meta()
S
67 1 8
meta()
S
68 1 8
unsubscribeReason()
S
79 1 3
affiliate_wp()
S
75 1 4
scopeCommerceItemsItemIds()
S
75 1 4
contact_commerce_items()
S
75 1 4
commerce_by_provider()
S
75 1 4
contact_commerce()
S
75 1 4
funnel_subscribers()
S
70 1 7